home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
- <background>
- <id>2599</id>
- <filler1>0</filler1>
- <bitmap>BMAP_3901.pbm</bitmap>
- <cantDelete> <false /> </cantDelete>
- <showPict> <true /> </showPict>
- <dontSearch> <false /> </dontSearch>
- <link rel="stylesheet" type="text/css" href="stylesheet_2238.css" />
- <part>
- <id>43</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <true /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>127</left>
- <top>209</top>
- <right>333</right>
- <bottom>226</bottom>
- </rect>
- <style>shadow</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>9</textSize>
- <textStyle>bold</textStyle>
- <textHeight>12</textHeight>
- <name>hostName</name>
- <script>on closeField
- put TCPNameToAddr(field "hostName") into field "address"
- end closeField
- </script>
- </part>
- <part>
- <id>26</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <true /> </autoTab>
- <lockText> <true /> </lockText>
- <rect>
- <left>22</left>
- <top>232</top>
- <right>265</right>
- <bottom>248</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <true /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>right</textAlign>
- <font>Geneva</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>address</name>
- <script></script>
- </part>
- <part>
- <id>2</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <true /> </lockText>
- <rect>
- <left>16</left>
- <top>25</top>
- <right>498</right>
- <bottom>186</bottom>
- </rect>
- <style>scrolling</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>screen</name>
- <script></script>
- </part>
- <part>
- <id>7</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>411</left>
- <top>297</top>
- <right>443</right>
- <bottom>326</bottom>
- </rect>
- <style>shadow</style>
- <showName> <false /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>21700</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Home</name>
- <script>on mouseUp
- visual effect iris open
- go Home
- end mouseUp
- </script>
- </part>
- <part>
- <id>18</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>367</left>
- <top>297</top>
- <right>399</right>
- <bottom>326</bottom>
- </rect>
- <style>shadow</style>
- <showName> <false /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>2478</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Home</name>
- <script>on mouseUp
- visual effect iris open
- go to next card
- end mouseUp
- </script>
- </part>
- <part>
- <id>27</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <true /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>208</left>
- <top>248</top>
- <right>265</right>
- <bottom>264</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <true /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>right</textAlign>
- <font>Geneva</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>port</name>
- <script></script>
- </part>
- <part>
- <id>28</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <true /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>208</left>
- <top>264</top>
- <right>265</right>
- <bottom>280</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <true /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>right</textAlign>
- <font>Geneva</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>local port</name>
- <script></script>
- </part>
- <part>
- <id>29</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>25</left>
- <top>229</top>
- <right>97</right>
- <bottom>281</bottom>
- </rect>
- <style>shadow</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Geneva</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <name>ActiveOpen</name>
- <script>on mouseUp
- global connectionID
- if connectionID is not empty then exit mouseup
- put TCPActiveOpen(item 1 of field "address", field "port", ¬
- field "local port") into connectionID
- if connectionID contains "fail" then
- put "The Result:" && connectionID
- put empty into connectionID
- end if
- end mouseUp
- </script>
- </part>
- <part>
- <id>31</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>100</left>
- <top>259</top>
- <right>169</right>
- <bottom>274</bottom>
- </rect>
- <style>rectangle</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Geneva</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <name>PassiveOpen</name>
- <script>on mouseUp
- global connectionID
- put TCPPassiveOpen(item 1 of field "address",field "port", ¬
- field "local port") into connectionID
- if connectionID contains "fail" then
- put "The Result:" && connectionID
- put empty into connectionID
- end if
- end mouseUp
- </script>
- </part>
- <part>
- <id>32</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>274</left>
- <top>282</top>
- <right>331</right>
- <bottom>298</bottom>
- </rect>
- <style>radiobutton</style>
- <showName> <true /> </showName>
- <highlight> <true /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Geneva</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <name>CrLf</name>
- <script>on mouseUp
- set the hilite of bg button "CrLf" to true
- set the hilite of bg button "Cr" to false
- set the hilite of bg button "Nothing" to false
- end mouseUp
- </script>
- </part>
- <part>
- <id>33</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>274</left>
- <top>296</top>
- <right>331</right>
- <bottom>312</bottom>
- </rect>
- <style>radiobutton</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Geneva</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <name>Cr</name>
- <script>on mouseUp
- set the hilite of bg button "Cr" to true
- set the hilite of bg button "CrLf" to false
- set the hilite of bg button "Nothing" to false
- end mouseUp
- </script>
- </part>
- <part>
- <id>34</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>274</left>
- <top>310</top>
- <right>331</right>
- <bottom>326</bottom>
- </rect>
- <style>radiobutton</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <false /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Geneva</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <name>Nothing</name>
- <script>on mouseUp
- set the hilite of bg button "Nothing" to true
- set the hilite of bg button "Cr" to false
- set the hilite of bg button "CrLf" to false
- end mouseUp
- </script>
- </part>
- <part>
- <id>36</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>127</left>
- <top>284</top>
- <right>205</right>
- <bottom>303</bottom>
- </rect>
- <style>rectangle</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Send Line</name>
- <script>on mouseUp
- global connectionID
- ask "Line to send:" && connectionID
- if it is not empty then
- if the hilite of bg button "Cr" then
- put return after it
- else if the hilite of bg button "CrLf" then
- put return & linefeed after it
- end if
- TCPSend connectionID,it
- if the result is not empty then put "The Result:" && the result
- if the optionKey is down then
- put TCPRecvMsg(connectionID,1800,"2",10000) into newInput
- if newInput is not empty then
- get rect of field "screen"
- get (item 4 of it) - (item 2 of it)
- put (it div (the textHeight of field "screen"))-1 into linesAvail
- get field "screen" & newInput
- put the number of lines in it into linesThere
- if linesThere > linesAvail then
- delete line 1 to (linesThere-linesAvail) of it
- end if
- put it into field "screen"
- end if
- end if
- end if
- end mouseUp
- </script>
- </part>
- <part>
- <id>37</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <true /> </lockText>
- <rect>
- <left>66</left>
- <top>308</top>
- <right>205</right>
- <bottom>326</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>New York</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <textHeight>16</textHeight>
- <name>state</name>
- <script></script>
- </part>
- <part>
- <id>40</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>17</left>
- <top>188</top>
- <right>91</right>
- <bottom>203</bottom>
- </rect>
- <style>rectangle</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Geneva</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <name>Clear Display</name>
- <script>on mouseUp
- put empty into field "screen"
- end mouseUp
- </script>
- </part>
- <part>
- <id>41</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>25</left>
- <top>285</top>
- <right>71</right>
- <bottom>300</bottom>
- </rect>
- <style>rectangle</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Geneva</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <name>Close</name>
- <script>on mouseUp
- global connectionID
- send mouseup to bg button "release"
- TCPClose connectionID
- if the result is not empty then put "The Result:" && the result
- end mouseUp
- </script>
- </part>
- <part>
- <id>42</id>
- <type>button</type>
- <visible> <true /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>75</left>
- <top>285</top>
- <right>121</right>
- <bottom>300</bottom>
- </rect>
- <style>rectangle</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Geneva</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <name>Release</name>
- <script>on mouseUp
- global connectionID
- TCPRelease connectionID
- if the result is not empty then put "The Result:" && the result
- put empty into connectionID
- end mouseUp
- </script>
- </part>
- <part>
- <id>45</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <false /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>99</left>
- <top>229</top>
- <right>335</right>
- <bottom>281</bottom>
- </rect>
- <style>scrolling</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>Groups</name>
- <script></script>
- </part>
- <part>
- <id>46</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <false /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>354</left>
- <top>267</top>
- <right>399</right>
- <bottom>283</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>right</textAlign>
- <font>Geneva</font>
- <textSize>9</textSize>
- <textStyle>bold</textStyle>
- <textHeight>12</textHeight>
- <name>P1</name>
- <script></script>
- </part>
- <part>
- <id>47</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <false /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>431</left>
- <top>267</top>
- <right>476</right>
- <bottom>283</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>right</textAlign>
- <font>Geneva</font>
- <textSize>9</textSize>
- <textStyle>bold</textStyle>
- <textHeight>12</textHeight>
- <name>p2</name>
- <script></script>
- </part>
- <part>
- <id>48</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <false /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>444</left>
- <top>224</top>
- <right>489</right>
- <bottom>240</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>right</textAlign>
- <font>Geneva</font>
- <textSize>9</textSize>
- <textStyle>bold</textStyle>
- <textHeight>12</textHeight>
- <name>Gnumber</name>
- <script></script>
- </part>
- <part>
- <id>49</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <false /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>444</left>
- <top>203</top>
- <right>489</right>
- <bottom>219</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>right</textAlign>
- <font>Geneva</font>
- <textSize>9</textSize>
- <textStyle>bold</textStyle>
- <textHeight>12</textHeight>
- <name>LLines</name>
- <script></script>
- </part>
- <part>
- <id>50</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <false /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>96</left>
- <top>188</top>
- <right>329</right>
- <bottom>203</bottom>
- </rect>
- <style>rectangle</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Geneva</font>
- <textSize>9</textSize>
- <textStyle>bold</textStyle>
- <textHeight>12</textHeight>
- <name>Gname</name>
- <script></script>
- </part>
- <name>speaker</name>
- <script>on idle
- global connectionID, cgroup
- --put the heapSpace
- if connectionID is empty then
- put "no connection" into field "state"
- exit idle
- end if
- get TCPState(connectionID)
- put it into field "state"
- if it is not "established" then exit idle
- put TCPRecvUpTo(connectionID,return,10,empty) into newInput
- if newInput is not empty then
- -- get rect of field "screen"
- -- get (item 4 of it) - (item 2 of it)
- -- put (it div (the textHeight of field "screen"))-1 into linesAvail
- get field "screen" & newInput
-
- -- put the number of lines in it into linesThere
- -- if linesThere > linesAvail then
- -- delete line 1 to (linesThere-linesAvail) of it
- -- end if
- put it into field "screen"
- if newinput contains "NNTP" and it contains "server" then group
- if newinput contains "request text separ" then readnext
- if newinput contains "420 No current article" then group
- if newinput contains "421 No next article" then group
- put number of chars of bg field "Screen" into bg field "Llines"
- if bg field "Llines" > 20000 then put empty into bg field "Screen"
- end if
- end idle
-
- on sktalk
- put number of lines of bg field "screen" into a
- repeat with i=1 to a
- get line 1 of bg field "screen"
- put second char of it into x
- if x >= "0" and x <= "9" then
- else if x Γëá "|" then
- if x = ">" then
- delete char 1 to 2 of it
- speak it,bg field "p1",bg field "p2"-10
- else
- speak it,bg field "p1",bg field "p2"
- end if
- end if
- if the mouse is down then exit sktalk
- delete line 1 of bg field "screen"
- end repeat
- put empty into bg field "Screen"
- end sktalk
-
- on group
- global connectionID,cgroup
- put bg field "Gnumber" into gnumber
- put gnumber+1 into gnumber
- put Gnumber into bg field "Gnumber"
- if number of lines of bg field "Groups" < gnumber then ¬
- put 1 into gnumber
- put line gnumber of bg field "groups" into cgroup
- put cgroup into bg field "Gname"
- TCPSendsk connectionID,"GROUP" && cgroup
- TCPSendsk connectionID,"NEXT"
- put empty into field "screen"
- end group
-
- on readnext
- global connectionID
- sktalk
- TCPSendsk connectionID,"NEXT"
- TCPSendsk connectionID,"BODY"
- put empty into field "screen"
- end readnext
-
- on tcpsendsk c,r
- TCPSend c,r & return & linefeed
- -- put c && r
- end tcpsendsk
-
- on openCard
- global connectionID, gnumber
- put 1 into gnumber
- put empty into connectionID
- end openCard
-
- on closeCard
- global connectionID
- if connectionID is not empty then
- TCPRelease connectionID
- put empty into connectionID
- end if
- end closeCard
-
- on closestack
- global connectionID
- TCPRelease connectionID
- end closestack
- </script>
- </background>
-